<!DOCTYPE html>
<html lang="en">
   
   
    <title>Realm - phone</title>
    <include file="Public/header"/>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="__PUBLIC__/Admin/assets/img/logo.png" alt="Realm Admin Template">
          </div>
           <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
           <a class="btn btn-navbar slide_menu_left visible-tablet">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="top-menu visible-desktop">
            <ul class="pull-left">
              <li><a id="messages" data-notification="2" href="#"><i class="icon-envelope"></i> Messages</a></li>
              <li><a id="notifications" data-notification="3" href="#"><i class="icon-globe"></i> Notifications</a></li>
            </ul>
            <ul class="pull-right">  
              <li><a href="{:U('User/exitLog')}"><i class="icon-off"></i> Logout</a></li>
            </ul>
          </div>

          <div class="top-menu visible-phone visible-tablet">
            <ul class="pull-right">  
              <li><a title="link to View all Messages page, no popover in phone view or tablet" href="#"><i class="icon-envelope"></i></a></li>
              <li><a title="link to View all Notifications page, no popover in phone view or tablet" href="#"><i class="icon-globe"></i></a></li>
              <li><a href="login.html"><i class="icon-off"></i></a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>

    <div class="container-fluid">

      <include file="Public/menu"/>

      <!-- Main window -->
      <div class="main_container" id="users_page">

       <!-- /row-fluid -->

        <div class="row-fluid">
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>Phone</h5>
              <div class="widget-buttons">
                  <a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
              <table id="users" class="table table-striped table-bordered dataTable" >
                <thead>
                 <tr>
    <th width="150px" >手机图片</th>
    <th>品牌</th>
    <th>型号</th>
    <th>颜色</th>
       <th style="text-align: center;">性能</th>
    <th>价格</th>
    <th>操作</th>
  </tr>
                </thead>
                <tbody>
                <volist name="phones" id="vo">
  <tr>
    <td><img src="__PUBLIC__/Admin/picture/{$vo.picture}" ></td>
    <td>{$vo.sign}</td>
    <td>{$vo.model}</td>
    <td>{$vo.color}</td>
    <td>{$vo.function}</td>
    <td>{$vo.price}</td>
    <td>
    <div class="btn-group">
                        <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                        Action
                          <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu pull-right">

                  <li>
                       <switch name="vo.isfirst">
                        <case value="0"><a href="__URL__/isfirst/id/{$vo.id}/isfirst/{$vo.isfirst}">置顶</a> </case>
                        <default /><a href="__URL__/isfirst/id/{$vo.id}/isfirst/{$vo.isfirst}">取消置顶</a> </default>
                        </switch>   
                  </li>
                        
                           <li><a href="detail/id/{$vo.id}"><i class="icon-copy"></i> 详细信息</a></li>

                        <!--  <li><a href="updatephone/id/{$vo.id}"><i class="icon-paper-clip"></i>添加</a></li> -->
                           <li><a href="editphone/id/{$vo.id}"><i class="icon-edit"></i>修改</a></li>
                          
                          <li><a href="delphone/id/{$vo.id}"><i class="icon-trash"></i>删除</a></li>
                          
                          
                        </ul>
                      </div>
                      </td>
    <!-- <a href="/diuba/index.php?m=admin&c=user&a=changestate&id=1&state=1">禁用</a> -->
  </tr>
  </volist>
                </tbody>
              </table>
            </div> <!-- /widget-body -->
          </div> <!-- /widget -->
        </div> <!-- /row-fluid -->

      </div>
      <!-- /Main window -->

    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->

    <!-- Example Modal -->
  <include file="Public/footer"/>
  </body>
</html>
